package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【申请教室】对象 tb_ca_apply
 *
 * @author ruoyi
 * @date 2024-06-12
 */
@Data
public class TbCaApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 教室申请代码 */
    @Excel(name = "教室申请代码")
    private String caId;

    /** 教室名称 */
    @Excel(name = "教室名称")
    private String caName;

    /** 申请时间 */
    @Excel(name = "申请时间")
    private Long caTime;

    /** 申请人 */
    @Excel(name = "申请人")
    private String caProposer;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String caStatus;

    /** 借用开始时间 */
    @Excel(name = "借用开始时间")
    private Long caBorrowStartTime;
    private String caBorrowStartTimeStr;

    /** 借用目的 */
    @Excel(name = "借用目的")
    private String caPurpose;

    /** 容纳人数 */
    @Excel(name = "容纳人数")
    private Long caNumber;

    /** 借用时间 */
    @Excel(name = "借用时间")
    private Long caBorrowTime;

    /** 借用截止时间 */
    @Excel(name = "借用截止时间")
    private Long caBorrowEndTime;
    private String caBorrowEndTimeStr;
    private String caTimeStr;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCaId(String caId)
    {
        this.caId = caId;
    }

    public String getCaId()
    {
        return caId;
    }
    public void setCaName(String caName)
    {
        this.caName = caName;
    }

    public String getCaName()
    {
        return caName;
    }
    public void setCaTime(Long caTime)
    {
        this.caTime = caTime;
    }

    public Long getCaTime()
    {
        return caTime;
    }
    public void setCaProposer(String caProposer)
    {
        this.caProposer = caProposer;
    }

    public String getCaProposer()
    {
        return caProposer;
    }
    public void setCaStatus(String caStatus)
    {
        this.caStatus = caStatus;
    }

    public String getCaStatus()
    {
        return caStatus;
    }
    public void setCaBorrowStartTime(Long caBorrowStartTime)
    {
        this.caBorrowStartTime = caBorrowStartTime;
    }



    public String getCaPurpose()
    {
        return caPurpose;
    }
    public void setCaNumber(Long caNumber)
    {
        this.caNumber = caNumber;
    }

    public Long getCaNumber()
    {
        return caNumber;
    }
    public void setCaBorrowTime(Long caBorrowTime)
    {
        this.caBorrowTime = caBorrowTime;
    }

    public Long getCaBorrowTime()
    {
        return caBorrowTime;
    }
    public void setCaBorrowEndTime(Long caBorrowEndTime)
    {
        this.caBorrowEndTime = caBorrowEndTime;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("caId", getCaId())
                .append("caName", getCaName())
                .append("caTime", getCaTime())
                .append("caProposer", getCaProposer())
                .append("caStatus", getCaStatus())
                .append("caBorrowStartTime", getCaBorrowStartTime())
                .append("caPurpose", getCaPurpose())
                .append("caNumber", getCaNumber())
                .append("caBorrowTime", getCaBorrowTime())
                .append("caBorrowEndTime", getCaBorrowEndTime())
                .toString();
    }



}
